import request from '@/utils/request'

export function listAnnouncements(params) {
  return request({
    url: '/announcement/list',
    method: 'get',
    params
  })
}

export function getAnnouncement(id) {
  return request({
    url: `/announcement/${id}`,
    method: 'get'
  })
}


